public class Sum {
    public static int add(int a, int b){
        return a + b;
    }

    public static float add(float a, float b, float c){

        return a + b + c;
    }
    public static void main(String[] args) {
        System.out.println(add(1, 2));
        System.out.println(add(1.0F, 2.0F, 3.0F));
    }
}
